Optimal. Leaf size=97 \[ \frac{\sqrt{x} (2 b B-3 A c)}{b^2 \sqrt{b x+c x^2}}-\frac{(2 b B-3 A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{5/2}}-\frac{A}{b \sqrt{x} \sqrt{b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0752901, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {792, 666, 660, 207} \[ \frac{\sqrt{x} (2 b B-3 A c)}{b^2 \sqrt{b x+c x^2}}-\frac{(2 b B-3 A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{5/2}}-\frac{A}{b \sqrt{x} \sqrt{b x+c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 666
Rule 660
Rule 207
Rubi steps
\begin{align*} \int \frac{A+B x}{\sqrt{x} \left (b x+c x^2\right )^{3/2}} \, dx &=-\frac{A}{b \sqrt{x} \sqrt{b x+c x^2}}+\frac{\left (\frac{1}{2} (b B-2 A c)+\frac{1}{2} (b B-A c)\right ) \int \frac{\sqrt{x}}{\left (b x+c x^2\right )^{3/2}} \, dx}{b}\\ &=-\frac{A}{b \sqrt{x} \sqrt{b x+c x^2}}+\frac{(2 b B-3 A c) \sqrt{x}}{b^2 \sqrt{b x+c x^2}}+\frac{(2 b B-3 A c) \int \frac{1}{\sqrt{x} \sqrt{b x+c x^2}} \, dx}{2 b^2}\\ &=-\frac{A}{b \sqrt{x} \sqrt{b x+c x^2}}+\frac{(2 b B-3 A c) \sqrt{x}}{b^2 \sqrt{b x+c x^2}}+\frac{(2 b B-3 A c) \operatorname{Subst}\left (\int \frac{1}{-b+x^2} \, dx,x,\frac{\sqrt{b x+c x^2}}{\sqrt{x}}\right )}{b^2}\\ &=-\frac{A}{b \sqrt{x} \sqrt{b x+c x^2}}+\frac{(2 b B-3 A c) \sqrt{x}}{b^2 \sqrt{b x+c x^2}}-\frac{(2 b B-3 A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{5/2}}\\ \end{align*}
Mathematica [C] time = 0.023136, size = 52, normalized size = 0.54 \[ \frac{x (2 b B-3 A c) \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};\frac{c x}{b}+1\right )-A b}{b^2 \sqrt{x} \sqrt{x (b+c x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.021, size = 94, normalized size = 1. \begin{align*}{\frac{1}{cx+b}\sqrt{x \left ( cx+b \right ) } \left ( 3\,A{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ) \sqrt{cx+b}xc-2\,B{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ) \sqrt{cx+b}xb-3\,A\sqrt{b}xc+2\,B{b}^{3/2}x-A{b}^{{\frac{3}{2}}} \right ){x}^{-{\frac{3}{2}}}{b}^{-{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x + A}{{\left (c x^{2} + b x\right )}^{\frac{3}{2}} \sqrt{x}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.97698, size = 552, normalized size = 5.69 \begin{align*} \left [-\frac{{\left ({\left (2 \, B b c - 3 \, A c^{2}\right )} x^{3} +{\left (2 \, B b^{2} - 3 \, A b c\right )} x^{2}\right )} \sqrt{b} \log \left (-\frac{c x^{2} + 2 \, b x + 2 \, \sqrt{c x^{2} + b x} \sqrt{b} \sqrt{x}}{x^{2}}\right ) + 2 \,{\left (A b^{2} -{\left (2 \, B b^{2} - 3 \, A b c\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{x}}{2 \,{\left (b^{3} c x^{3} + b^{4} x^{2}\right )}}, \frac{{\left ({\left (2 \, B b c - 3 \, A c^{2}\right )} x^{3} +{\left (2 \, B b^{2} - 3 \, A b c\right )} x^{2}\right )} \sqrt{-b} \arctan \left (\frac{\sqrt{-b} \sqrt{x}}{\sqrt{c x^{2} + b x}}\right ) -{\left (A b^{2} -{\left (2 \, B b^{2} - 3 \, A b c\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{x}}{b^{3} c x^{3} + b^{4} x^{2}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x}{\sqrt{x} \left (x \left (b + c x\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.21979, size = 117, normalized size = 1.21 \begin{align*} \frac{{\left (2 \, B b - 3 \, A c\right )} \arctan \left (\frac{\sqrt{c x + b}}{\sqrt{-b}}\right )}{\sqrt{-b} b^{2}} + \frac{2 \,{\left (c x + b\right )} B b - 2 \, B b^{2} - 3 \,{\left (c x + b\right )} A c + 2 \, A b c}{{\left ({\left (c x + b\right )}^{\frac{3}{2}} - \sqrt{c x + b} b\right )} b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]